import java.math.BigInteger;


public class Comp_Op implements Node {

	public String token = "<comp op>";
	public String comp_op = null;
			
	public Comp_Op(){
		int token = PSTree.Core_TK.getToken();
		PSTree.Core_TK.skipToken();
		if(token == 25){
			comp_op= "!=";
		}
		else if(token == 26){
			comp_op= "==";
		}
		else if(token == 27){
			comp_op= "<";
		}
		else if(token == 28){
			comp_op= ">";
		}
		else if(token == 29){
			comp_op= "<=";
		}
		else if(token == 30){
			comp_op= ">=";
		}
		else{
			System.out.println("Error: expecting comparative operand in comp_op");
			System.exit(1);
		}
		
		
	}

	
	public void print(int indent) {
		System.out.print(this.comp_op);		
	}

	
	public void execute() {
		// TODO Auto-generated method stub
		
	}


	@Override
	public BigInteger intexecute() {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public boolean compexecute() {
		// TODO Auto-generated method stub
		return false;
	}


	@Override
	public String Stringexcec() {
		// TODO Auto-generated method stub
		return null;
	}
}
